package can.bishe.modules.exam.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 题目信息
 * 
 * @author can
 * @email 822024417@qq.com
 * @date 2021-04-28 23:03:48
 */
@Data
@TableName("exam_subject")
public class ExamSubjectEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long subjectId;
	/**
	 * 题目内容
	 */
	private String subjectContent;
	/**
	 * 题目类型
	 */
	private String subjectType;
	/**
	 * 题目选项
	 */
	private Long subjectOptionid;
	/**
	 * 题目答案（1，2，3，4）
	 */
	private String subjectAnswer;

	@TableField(exist = false)
	private List<Map<String,Object>> optionList;

}
